package cn.qingyun.gis.modules.youshang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

;

/**
* @Description: 友商渠道勘误-附件表表实体对象
* @Version: V1.0
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("ys_channel_attachment")
@ApiModel(value = "YsChannelAttachment对象", description = "YsChannelAttachment对象")
public class YsChannelAttachment implements Serializable {

private static final long serialVersionUID = 1L;
    /**
    * 主键
    */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
    * ys_channel_proofread表主键id
    */
    @ApiModelProperty(value = "ys_channel_proofread表主键id")
    @Excel(name = "ys_channel_proofread表主键id", width = 15)
    private String ysChannelProofreadId;

    /**
    * 图片base64地址
    */
    @ApiModelProperty(value = "图片base64地址")
    @Excel(name = "图片base64地址", width = 15)
    private String content;

    /**
    * 修改时间
    */
    @ApiModelProperty(value = "修改时间")
    @Excel(name = "修改时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
